import { request } from "@/utils/axios"

/**
 * 查询指定key的配置内容
 */
export function getSysConfig() {
    return request(
        {
            url: `information/getSysConfig?key=downloadUrl`,
            method: "GET",
            data: {}
        }
    );
}
/**
 * 修改指定配置
 */
export function updateSysConfig(data) {
    return request(
        {
            url: `organizing/updateSysConfig`,
            method: "PUT",
            data
        }
    );
}

/**
 * 获取统计
 */

export function GetStatisticsApi(params) {
    return request(
        {
            url: "/information/getStatistics",
            method: "GET",
            params: params,
        }
    );
}